<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<meta name="decorator" content="sysDefault"/>
<script src="${staticPath}/lib/jquery-datatables/1.9.4/js/jquery.dataTables.min.js" type="text/javascript"></script>
<script type="text/javascript" src="${staticPath}/lib/jquery/1.10.2/jquery.js"></script>
<script type="text/javascript">
	$(document).ready(function() {

	function funform(url,target){
		alert(123);
		window.open(url,target);
	}
		
</script>
</head>
<body>
	<div class="container-fluid">
		<div class="row">
			<div class="col-xs-12">
				<div class="panel panel-default">
				  <div class="panel-heading">
				    <h3 class="panel-title">
				    	税票类型列表
					    <!-- 
					    <div class="btn-group btn-group-sm pull-right">
						  <button type="button" class="btn btn-success" onclick="funform('${contextPath}/biz/example/student/add','_self');">新增</button>
						  <button type="button" class="btn btn-danger" onclick="funform('${contextPath}/biz/example/student/deleteAll','_self');">删除</button>
						</div> -->
						<button class="btn btn-success btn-sm pull-right" role="button" onclick="funform('${contextPath}/sys/base/sysBaseTaxRate/add','_self');">新增</button>
				    </h3>
				   
				  </div>
				  	<tags:message content="${message}"/>
					<table class="table table-striped table-bordered table-hover">
					
					<thead>
					</thead>
					
						<thead>
							<tr>
								
								<th>税票类型</th>
								<th>税率代码</th>
								<th>税率</th>
								<th>操作</th>
							</tr>
						</thead>
						<tbody>
							<c:forEach items="${list}" var="taxRate">
								<tr>
									<td>${taxRate.taxRateType}</td>
									<td>${taxRate.taxRateNum}</td>
									<td>${taxRate.taxRate}</td>									
									<td>
										<a href="${contextPath}/sys/base/sysBaseTaxRate/${taxRate.id}/view">查看</a>
										<a href="${contextPath}/sys/base/sysBaseTaxRate/${taxRate.id}/edit">修改</a>
										<a href="${contextPath}/sys/base/sysBaseTaxRate/${taxRate.id}/delete"
										   onclick="return Oosp_Confirm('确认要删除该条数据吗？', this.href)">删除</a>
									</td>
								</tr>
							</c:forEach>
						</tbody>
					</table>
				  <div class="panel-footer">
				  	<!--<page:pager page="${page}"/> 等待宏天分页功能完善-->
				  	<ul class="pagination o-list-pagination">
						<li class="disabled"><a href="javascript:">&#171; 上一页</a></li>
						<li class="disabled"><a href="#">1</a></li>
						<li class="disabled"><a href="#">下一页 &#187;</a></li>
						<li class="disabled info">&nbsp;<a href="javascript:">当前 <input type="text" value="1" onkeypress="var e=window.event||this;var c=e.keyCode||e.which;if(c==13)page(this.value,10);" onclick="this.select();"/> / <input type="text" value="10" onkeypress="var e=window.event||this;var c=e.keyCode||e.which;if(c==13)page(1,this.value);" onclick="this.select();"/> 条，共 10 条</a><li>
					</ul>
				  </div>
				</div>			
			</div>
		</div>
	</div>
</body>
</html>